import request from '@/utils/request'

export function fetchSingleIntro(id) {
    return request({
        url: `/intro/${id}`,
        method: 'get',

    })
}

export function updateIntro(data) {
    return request({
        url: `/intro/update`,
        method: 'post',
        emulateJSON: false ,
        data
    })
}
